package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 需求汇总物料表
 * </p>
 *
 * @author LX
 * @since 2018-09-11
 */
@TableName("erp_orderd_materiel")
public class ErpOrderdMateriel extends Model<ErpOrderdMateriel> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 汇总ID
     */
    @TableField("order_id")
    private Integer orderId;
    /**
     * 物料 名称
     */
    @TableField("materiel_name")
    private String materielName;
    /**
     * 物料 品牌
     */
    @TableField("materiel_brand")
    private String materielBrand;
    /**
     * 物料 规格
     */
    @TableField("materiel_Specifications")
    private String materielSpecifications;
    /**
     * 物料 型号
     */
    @TableField("materiel_model")
    private String materielModel;
    /**
     * 物料 产地
     */
    @TableField("materiel_place")
    private String materielPlace;
    /**
     * 物料 状态
     */
    @TableField("materiel_state")
    private String materielState;
    /**
     * 物料 单位
     */
    @TableField("materiel_unit")
    private String materielUnit;
    /**
     * 需求数量
     */
    @TableField("materiel_amount")
    private Integer materielAmount;
    /**
     * 备注
     */
    private String remark;
    /**
     * 计划是否完成0未完成
     */
    @TableField("work_state")
    private Integer workState;





    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getMaterielName() {
        return materielName;
    }

    public void setMaterielName(String materielName) {
        this.materielName = materielName;
    }

    public String getMaterielBrand() {
        return materielBrand;
    }

    public void setMaterielBrand(String materielBrand) {
        this.materielBrand = materielBrand;
    }

    public String getMaterielSpecifications() {
        return materielSpecifications;
    }

    public void setMaterielSpecifications(String materielSpecifications) {
        this.materielSpecifications = materielSpecifications;
    }

    public String getMaterielModel() {
        return materielModel;
    }

    public void setMaterielModel(String materielModel) {
        this.materielModel = materielModel;
    }

    public String getMaterielPlace() {
        return materielPlace;
    }

    public void setMaterielPlace(String materielPlace) {
        this.materielPlace = materielPlace;
    }

    public String getMaterielState() {
        return materielState;
    }

    public void setMaterielState(String materielState) {
        this.materielState = materielState;
    }

    public String getMaterielUnit() {
        return materielUnit;
    }

    public void setMaterielUnit(String materielUnit) {
        this.materielUnit = materielUnit;
    }

    public Integer getMaterielAmount() {
        return materielAmount;
    }

    public void setMaterielAmount(Integer materielAmount) {
        this.materielAmount = materielAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getWorkState() {
        return workState;
    }

    public void setWorkState(Integer workState) {
        this.workState = workState;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpOrderdMateriel{" +
        ", id=" + id +
        ", orderId=" + orderId +
        ", materielName=" + materielName +
        ", materielBrand=" + materielBrand +
        ", materielSpecifications=" + materielSpecifications +
        ", materielModel=" + materielModel +
        ", materielPlace=" + materielPlace +
        ", materielState=" + materielState +
        ", materielUnit=" + materielUnit +
        ", materielAmount=" + materielAmount +
        ", remark=" + remark +
        ", workState=" + workState +
        "}";
    }
}
